
package za.ac.cput.peter.SoftwareDesignPrincipals.OCP.OCPFixed.Conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.peter.SoftwareDesignPrincipals.OCP.OCPFixed.Impl.CalculateLoan;
import za.ac.cput.peter.SoftwareDesignPrincipals.OCP.OCPFixed.Impl.CalculateLoanImpl;

@Configurable
public class AppConfig 
{
    @Bean
    public CalculateLoanImpl loan(){ return new CalculateLoanImpl();}   
}